<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文本装饰</title>
    <style>
        /*默认盒子是没有线的*/
        .underline {
            text-decoration: underline;
        }

        .none {
            text-decoration: none;
        }

        .lineThrough {
            text-decoration: line-through;
        }

        .overline {
            text-decoration: overline;
        }
    </style>
</head>
<body>
<div class="none">没有装饰线</div>
<br>
<div class="underline">下划线</div>
<br>
<div class="lineThrough">删除线</div>
<br>
<div class="overline">上划线</div>
<br>
<a class="none" href="https://www.google.com">链接</a>
</body>
</html>